package poc.bcsoi.utils;

public class BcsoiXpath {
	
	public enum Expressions {
		IDENTITY_QUALIFIER 	{ public String toString() { return "/ddms:Resource/ddms:identifier/@ddms:qualifier"; } },
		IDENTITY_VALUE		{ public String toString() { return "/ddms:Resource/ddms:identifier/@ddms:value"; } }, 
		ADAPTER_NAME		{ public String toString() { return "/ddms:Resource/ddms:creator/ddms:Service/ddms:name"; } },
		CATEGORY			{ public String toString() { return "//ddms:category/@ddms:label"; } },
		CREATED_DATE		{ public String toString() { return "/ddms:Resource/ddms:dates/@ddms:created"; } },
		UPDATED_DATE		{ public String toString() { return "/ddms:Resource/ddms:dates/@ddms:posted"; } },
		EXPIRATION_DATE		{ public String toString() { return "/ddms:Resource/ddms:dates/@ddms:validTil"; } },
		DDMS_RESOURCE		{ public String toString() { return "/"; } },
		BCSOI_ITEM			{ public String toString() { return "/ddms:Resource/*[local-name()='Item' and namespace-uri()='http://mil.army.us/bcsoi/cache']"; } },
		JSON				{ public String toString() { return "/ddms:Resource/*[local-name()='Item' and namespace-uri()='http://mil.army.us/bcsoi/cache']/*[local-name()='OriginalData' and namespace-uri()='http://mil.army.us/bcsoi/cache']/json"; } },
		KML 				{ public String toString() { return "/ddms:Resource/*[local-name()='Item' and namespace-uri()='http://mil.army.us/bcsoi/cache']/*[local-name()='kml' and namespace-uri()='http://www.opengis.net/kml/2.2']"; } },
		NORTH 				{ public String toString() { return "//ddms:NorthBL"; } },
		EAST 				{ public String toString() { return "//ddms:EastBL"; } },
		SOUTH 				{ public String toString() { return "//ddms:SouthBL"; } },
		WEST 				{ public String toString() { return "//ddms:WestBL"; } },
		;
	}
	
}
